<%@page import="java.util.Locale"%>
<%@page import="java.util.ResourceBundle"%>
<%@page import="model.Articles"%>
<%@page import="com.googlecode.objectify.Query"%>
<% request.setCharacterEncoding("utf-8"); %>
<%
Query<Articles> list = (Query<Articles>) request.getAttribute("list");
ResourceBundle resource = ResourceBundle.getBundle("language",
		new Locale("en"));
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title><%=resource.getString("archives") %> : Jul 2012 Page - 1</title>
		<meta name="description" content="<%=resource.getString("description_list_archives") %>"/>
		<meta name="Keywords" content="<%=resource.getString("keyword_list_archives") %>"/>	
		<meta http-equiv="content-language" content="<%=resource.getString("language") %>">
		<meta content="text/html; charset=utf-8" http-equiv="content-type" />
		<link rel='stylesheet' type='text/css' href='/css/articles_date.css' />
		<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss" />
	</head>
	<body>
		<div class="link_index"><a href="/"><%=resource.getString("go_home") %></a></div>
		<div class="headder"></div>
		<div class="back"><a href="/archives"><%=resource.getString("index_archives") %></a></div>
		<div class="content">
			<ol class="list_articles" start="1">
				<%
				for (Articles ar: list) {
				%>
					<li><a href='/article/<%=ar.getAlias()%>'><%=ar.getTitle().getValue() %></a></li>
				<%
				}
				%>
			</ol>
		</div>
	</body>
</html>		